<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<from action="">
    用户名: <input type="text" name="username" placeholder="用户名" maxlength="5">
    示例:<input type="text" readonly value="张三丰">
    <br>
    密码:<input type="password" name="password" placeholder="用户密码">
    性别:<input type="radio" name="gender" value="m" checked id="r1">
    <label for="r1">男</label>
    <input type="radio" name="gender" value="w" id="r2">
    <label for="r2">女</label><br>
    兴趣爱好:
    <input type="checkbox" name="hobby" checked value="smoke">抽烟
    <input type="checkbox" name="hobby" value="drink">喝酒
    <input type="checkbox" name="hobby" value="hearcut">烫头
    生日:<input type="date" name="birthday"><br>
    靓照:<input type="file" name="pic"><br>
    所在地:
    <select name="city">
        <option value="bj">北京</option>
        <option value="sh">上海</option>
        <option selected value="gz">广州</option>
    </select><br>
    <button type="submit">注册</button>
    <button type="reset">重置</button>
    <button type="button">自定义按钮</button>
</from>
</body>
</html>